package cn.hasayam.test3;

import android.arch.persistence.room.ColumnInfo;
import android.arch.persistence.room.Entity;
import android.arch.persistence.room.Ignore;
import android.arch.persistence.room.PrimaryKey;
import android.support.annotation.NonNull;

@Entity
public class SettingBean {
    @PrimaryKey
    @NonNull
    @ColumnInfo(name = "name")
    public  String name;

    @ColumnInfo(name = "value")
    public  String value;

    @Ignore
    public SettingBean(String name, String value) {
        this.name = name;
        this.value = value;
    }

    public SettingBean(){}

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getValue() {
        return value;
    }

    public void setValue(String value) {
        this.value = value;
    }
}
